package com.siysoft.tc.base.bean.to;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="db_reservation")
public class Reservation {
	private int reservation_id;
	private String reservation_number;
	private String reservation_course;
	private Timestamp reservation_time;
	private Integer reservation_goal;
	private Integer reservation_lecture_id;
	private Integer reservation_max_size;
	private Integer reservation_period;
	private double reservation_wage;
	private double reservation_bonus;
	private Integer reservation_status;
	private Integer reservation_administrator;
	private Integer reservation_ispublic;
	private Integer reservation_current_size;
	private String reservation_school;
	private String reservation_address;
	private Integer reservation_recommend_index;
	private int reservation_create_id;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="reservation_id")
	public int getReservation_id() {
		return reservation_id;
	}
	public void setReservation_id(int reservation_id) {
		this.reservation_id = reservation_id;
	}
	
	@Column(name="reservation_number")
	public String getReservation_number() {
		return reservation_number;
	}
	public void setReservation_number(String reservation_number) {
		this.reservation_number = reservation_number;
	}
	
	@Column(name="reservation_course")
	public String getReservation_course() {
		return reservation_course;
	}
	public void setReservation_course(String reservation_course) {
		this.reservation_course = reservation_course;
	}
	
	@Column(name="reservation_time")
	public Timestamp getReservation_time() {
		return reservation_time;
	}
	public void setReservation_time(Timestamp reservation_time) {
		this.reservation_time = reservation_time;
	}
	
	@Column(name="reservation_goal")
	public Integer getReservation_goal() {
		return reservation_goal;
	}
	public void setReservation_goal(Integer reservation_goal) {
		this.reservation_goal = reservation_goal;
	}
	
	@Column(name="reservation_lecture_id")
	public Integer getReservation_lecture_id() {
		return reservation_lecture_id;
	}
	public void setReservation_lecture_id(Integer reservation_lecture_id) {
		this.reservation_lecture_id = reservation_lecture_id;
	}
	
	@Column(name="reservation_max_size")
	public Integer getReservation_max_size() {
		return reservation_max_size;
	}
	public void setReservation_max_size(Integer reservation_max_size) {
		this.reservation_max_size = reservation_max_size;
	}
	
	@Column(name="reservation_period")
	public Integer getReservation_period() {
		return reservation_period;
	}
	public void setReservation_period(Integer reservation_period) {
		this.reservation_period = reservation_period;
	}
	
	@Column(name="reservation_wage")
	public double getReservation_wage() {
		return reservation_wage;
	}
	public void setReservation_wage(double reservation_wage) {
		this.reservation_wage = reservation_wage;
	}
	
	@Column(name="reservation_bonus")
	public double getReservation_bonus() {
		return reservation_bonus;
	}
	public void setReservation_bonus(double reservation_bonus) {
		this.reservation_bonus = reservation_bonus;
	}
	
	@Column(name="reservation_status")
	public Integer getReservation_status() {
		return reservation_status;
	}
	public void setReservation_status(Integer reservation_status) {
		this.reservation_status = reservation_status;
	}
	
	@Column(name="reservation_administrator")
	public Integer getReservation_administrator() {
		return reservation_administrator;
	}
	public void setReservation_administrator(Integer reservation_administrator) {
		this.reservation_administrator = reservation_administrator;
	}
	
	@Column(name="reservation_ispublic")
	public Integer getReservation_ispublic() {
		return reservation_ispublic;
	}
	public void setReservation_ispublic(Integer reservation_ispublic) {
		this.reservation_ispublic = reservation_ispublic;
	}
	
	@Column(name="reservation_current_size")
	public Integer getReservation_current_size() {
		return reservation_current_size;
	}
	public void setReservation_current_size(Integer reservation_current_size) {
		this.reservation_current_size = reservation_current_size;
	}
	
	@Column(name="reservation_school")
	public String getReservation_school() {
		return reservation_school;
	}
	public void setReservation_school(String reservation_school) {
		this.reservation_school = reservation_school;
	}
	
	@Column(name="reservation_address")
	public String getReservation_address() {
		return reservation_address;
	}
	public void setReservation_address(String reservation_address) {
		this.reservation_address = reservation_address;
	}
	
	@Column(name="reservation_recommend_index")
	public Integer getReservation_recommend_index() {
		return reservation_recommend_index;
	}
	public void setReservation_recommend_index(Integer reservation_recommend_index) {
		this.reservation_recommend_index = reservation_recommend_index;
	}
	
	@Column(name="reservation_create_id")
	public int getReservation_create_id() {
		return reservation_create_id;
	}
	public void setReservation_create_id(int reservation_create_id) {
		this.reservation_create_id = reservation_create_id;
	}
	
}
